package com.ccb.sc.github.yydzxz.miniprogram.api.impl.request.message;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ccb.sc.github.yydzxz.common.http.IByteDanceRequest;
import com.ccb.sc.github.yydzxz.miniprogram.api.impl.request.INeedAccessTokenRequest;
import com.google.gson.annotations.SerializedName;
import lombok.Data;

@Data
public class SendSubscribeRequest implements IByteDanceRequest, INeedAccessTokenRequest {
    @JSONField(name = "access_token")
    @JsonAlias("access_token")
    @JsonProperty("access_token")
    @SerializedName("access_token")
    private String accessToken;

    @JSONField(name = "app_id")
    @JsonAlias("app_id")
    @JsonProperty("app_id")
    @SerializedName("app_id")
    private String appId;

    @JSONField(name = "tpl_id")
    @JsonAlias("tpl_id")
    @JsonProperty("tpl_id")
    @SerializedName("tpl_id")
    private String tplId;

    @JSONField(name = "open_id")
    @JsonAlias("open_id")
    @JsonProperty("open_id")
    @SerializedName("open_id")
    private String open_id;

    private String data;

    private String page;
}
